package com.jic.market.service;

import java.lang.Long;
import java.util.List;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.market.entity.PromotionBargain;

/**
* 砍价活动表
* @author : 
* @email : 
* @since : 2020-09-10 06:18:49
* @version : v1.0.0
*/
public interface PromotionBargainService {

    long insert(PromotionBargain promotionBargain);

    long delete(Long id);

    long update(PromotionBargain promotionBargain);

    PromotionBargain queryByPrimaryKey(Long id);

    List<PromotionBargain> query(PromotionBargain promotionBargain);

    PageResult<PromotionBargain> queryPage(PromotionBargain promotionBargain, Page pageQuery);

    RestResult insertPromotion(PromotionBargain promotionBargain);
}